﻿@using Telerik.Web.Mvc.UI
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title - JOOST Restaurant Automation Software</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    @(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.metro.css").Add("telerik.rtl.css")))
</head>
<body>
    <table id="main">
        <thead>
            <tr>
                <td colspan="3" class="title">JOOST Restaurant Automation Software - @ViewBag.Title
                </td>
                <td width="25%" id="menu_4hr" onclick="document.location.href='/Home'">Home
                </td>
            </tr>
            <tr>
                <td width="25%" id="menu_0hr" onclick="document.location.href='/Statisiche'">Statistiche
                </td>
                <td width="25%" id="menu_1hr" onclick="document.location.href='/Tavoli'">Tavoli
                </td>
                <td width="25%" id="menu_2hr" onclick="document.location.href='/Asporto'">Asporto
                </td>
                <td width="25%" id="menu_3hr" onclick="document.location.href='/Setup'">Setup
                </td>
            </tr>
        </thead>
    </table>
    <table id="body">
        <tr>
            <td style="vertical-align: top; width: 25%;">
                @RenderSection("menu", false)
            </td>
            <td style="vertical-align: top;">
                <div class="label">
                    @ViewBag.Title
                </div>
                @RenderBody()
            </td>
        </tr>
    </table>
    @(Html.Telerik().ScriptRegistrar().Globalization(true).DefaultGroup(group => group.Combined(true).Compress(true)))
</body>
</html>
